<template>
    <div>
        <el-tabs v-model="activeName" type="card" @tab-click="handleClick">
    <el-tab-pane label="发送箱" name="first"><Fsx /></el-tab-pane>
    <el-tab-pane label="收件箱" name="second"><Sjx /></el-tab-pane>
  </el-tabs>
    </div>
</template>
<script>
    import Fsx from './Fsx.vue'
    import Sjx from './Sjx.vue'
    export default {
        components:{
        Fsx,
        Sjx
        },
      data() {
        return {
          activeName: 'first'
        };
      },
      methods: {
        handleClick(tab, event) {
          console.log(tab, event);
        }
      }
    };
  </script>